package com.ywk.pattern._28_vistor;

public class Main {
    public static void main(String[] args) {
        ObjectStructure structure = new ObjectStructure();
        structure.attach(new Men());
        structure.attach(new Women());
        Amativeness amativeness = new Amativeness();
        structure.display(amativeness);
    }
}
